package com.dhp.constant;

/**
 * 用户常量
 *
 * @author dhp
 */
public interface UserConstant {

    /**
     * 用户登录态键
     */
    String USER_LOGIN_STATE = "userLoginState";

    /**
     * 系统用户 id（虚拟用户）
     */
    long SYSTEM_USER_ID = 0;

    //  region 权限

    /**
     * 默认权限
     */
    String DEFAULT_ROLE = "user";

    /**
     * 管理员权限
     */
    String ADMIN_ROLE = "admin";

    String USER_SIGN = "sign:";

    String VIP_USER = "vip";

    String CHART_KEY_PRE = "chart:";

    String DEFAULT_AVATAR = "https://dhp-friends.oss-cn-beijing.aliyuncs.com/2024/02-29/6bc66d49-8e13-46fc-b9c0-4b65bdc3712fOIP-C.jpg";



    // endregion
}
